Skip to content

Conversation

@ngokevin
Copy link
Member

@ngokevin ngokevin commented Dec 9, 2017

Description:

Found out I wasn't able to remove a mixed-in component.

I had <a-mixin id="foo" raycastable> to start entities off with raycastable-ness. But later, I would toggle them, but it didn't take. Seems there was 2-year old logic to not allow removal of mixed-in components, which doesn't make sense anymore.

Changes proposed:

  • Allow removal of mixed-in component.
  • Use removeComponent versus the weird setEntityAttribute(attr, undefined, null).

@dmarcos dmarcos merged commit 121acba into aframevr:master Dec 10, 2017
wmurphyrd pushed a commit to wmurphyrd/aframe that referenced this pull request Mar 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants